<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title></title>
    <#include "/jeecms_sys/head.html"/>
</head> 
<body>
<div class="body-box">
    <@p.form id="jvForm" action="o_update.do" labelWidth="12">
        <@p.text colspan="1"  width="50" name="title" label="标题" value="${foodShare.title}"/>
        <@p.text colspan="2"  width="50" name="subTitle" label="副标题" value="${foodShare.subTitle!}"/><@p.tr/>

        <@p.textarea label="内容"  name="content" value=foodShare.content cols="80" rows="3" maxlength="100" colspan="2" width="80"/><@p.tr/>
    <@p.td label="轮播图" colspan="2" noHeight="true">
    <#list images as img>
        <table id="picTable${img_index+3}" border="0" style="float:left;">
            <tr>
                <td>
                    <div>
                        <input type="hidden"  name="imgUrls" value="${img.imageURL}"/>
                        <a href="javascript:void(0);" onclick="$('#picTable${img_index+3}').remove();" class="pn-opt"><@s.m "content.picturesDel"/></a></div>
                    <div>
                </td>
                <td><img id="preImg${img_index+3}" src="${img.imageURL}" alt="<@s.m "imageupload.preview"/>" noResize="true" style="width:110px;height:110px;background-color:#ccc;border:1px solid #333"/></td>
            </tr>
        </table>
    </#list>
</@p.td>
<@p.tr/>
    <input type="hidden" name="id" value="${foodShareId}"/>
     <@p.td colspan="2"><@p.submit code="global.submit"/></@p.td>
</@p.form>
<#include "/common/alert_message.html"/>
</div>
</body>
</html>